Adwaita: path-bar home button spacing
authorLapo Calamandrei <calamandrei@gmail.com>
Wed, 13 Aug 2014 14:41:36 +0000 (16:41 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Wed, 13 Aug 2014 14:41:36 +0000 (16:41 +0200)
gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index bef48649fb31cda379c03db07e503c52e8858da2..ec505cf1798490ab8d5acdeed28a0b7dfdbad012 100644 (file)
@@ -959,6 +959,13 @@ GtkComboBox {
   }
 }
 
+// the followind is for spacing the icon and the label inside the home button
+.path-bar .button GtkLabel:last-child { padding-left: 2px; }
+.path-bar .button GtkLabel:first-child { padding-right: 2px; }
+.path-bar .button GtkLabel:only-child { padding-right: 0; padding-left: 0; }
+
+
+
 /**************
  * Tree Views *
  **************/
index 44f93c37ef4c026fb72946278deb7db3a9165c63..f5151aa5d08a9959cfe646ec25b6140bea79ae9a 100644 (file)
@@ -1090,6 +1090,16 @@ GtkComboBox {
     padding-left: 12px;
     padding-right: 12px; }
 
+.path-bar .button GtkLabel:last-child {
+  padding-left: 2px; }
+
+.path-bar .button GtkLabel:first-child {
+  padding-right: 2px; }
+
+.path-bar .button GtkLabel:only-child {
+  padding-right: 0;
+  padding-left: 0; }
+
 /**************
  * Tree Views *
  **************/
index 84e31a069fe029355c04a1e4fb55cc93d00e015f..72d116bf282005d78665f22797f58bdc4af63675 100644 (file)
@@ -1082,6 +1082,16 @@ GtkComboBox {
     padding-left: 12px;
     padding-right: 12px; }
 
+.path-bar .button GtkLabel:last-child {
+  padding-left: 2px; }
+
+.path-bar .button GtkLabel:first-child {
+  padding-right: 2px; }
+
+.path-bar .button GtkLabel:only-child {
+  padding-right: 0;
+  padding-left: 0; }
+
 /**************
  * Tree Views *
  **************/